tests: Remove tests for icontheme properties
authorBenjamin Otte <otte@redhat.com>
Sun, 29 Jun 2014 17:52:37 +0000 (19:52 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 29 Jun 2014 23:08:02 +0000 (01:08 +0200)
These properties have been removed and always return %NULL, so no need
to keep them.

tests/testicontheme.c

index 1b63b11e3fa43fc2c7635b43f184f7845ce74bc6..47c0e4b2982cc7e43e46b2ec916d012ea8735020 100644 (file)
@@ -62,16 +62,11 @@ main (int argc, char *argv[])
 {
   GtkIconTheme *icon_theme;
   GtkIconInfo *icon_info;
-  GdkRectangle embedded_rect;
-  GdkPoint *attach_points;
-  int n_attach_points;
-  const gchar *display_name;
   char *context;
   char *themename;
   GList *list;
   int size = 48;
   int scale = 1;
-  int i;
   
   gtk_init (&argc, &argv);
 
@@ -223,29 +218,6 @@ main (int argc, char *argv[])
               g_object_unref (pixbuf);
             }
 
-         if (gtk_icon_info_get_embedded_rect (icon_info, &embedded_rect))
-           {
-             g_print ("Embedded rect: %d,%d %dx%d\n",
-                      embedded_rect.x, embedded_rect.y,
-                      embedded_rect.width, embedded_rect.height);
-           }
-         
-         if (gtk_icon_info_get_attach_points (icon_info, &attach_points, &n_attach_points))
-           {
-             g_print ("Attach Points: ");
-             for (i = 0; i < n_attach_points; i++)
-               g_print ("%d, %d; ",
-                        attach_points[i].x,
-                        attach_points[i].y);
-             g_free (attach_points);
-             g_print ("\n");
-           }
-         
-         display_name = gtk_icon_info_get_display_name (icon_info);
-         
-         if (display_name)
-           g_print ("Display name: %s\n", display_name);
-         
          g_object_unref (icon_info);
        }
     }